package com.csh.auth.domain.convert;

import com.csh.auth.domain.entity.AuthPermissionBo;
import com.csh.auth.domain.entity.AuthRolePermissionBo;
import com.csh.auth.infra.basic.entity.AuthPermission;
import com.csh.auth.infra.basic.entity.AuthRolePermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRolePermissionBoConverter {

    AuthRolePermissionBoConverter INSTANCE = Mappers.getMapper(AuthRolePermissionBoConverter.class);

    AuthRolePermission convertBoToEntity(AuthRolePermissionBo authRolePermissionBo);

}
